package p270jp.pxv.android.model;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import net.pixiv.charcoal.android.view.dialog.CharcoalDialogEvent;
import p216hn.DefaultConstructorMarker;
import p270jp.pxv.android.commonObjects.model.PixivApplicationInfo;
import p325m0.MutabilityOwnership;

/* compiled from: RoutingDialogEvent.kt */
/* renamed from: jp.pxv.android.model.RoutingDialogEvent */
/* loaded from: classes2.dex */
public abstract class RoutingDialogEvent implements CharcoalDialogEvent {
    public static final int $stable = 0;

    /* compiled from: RoutingDialogEvent.kt */
    /* renamed from: jp.pxv.android.model.RoutingDialogEvent$CancelUpdate */
    /* loaded from: classes2.dex */
    public static final class CancelUpdate extends RoutingDialogEvent {
        private final PixivApplicationInfo applicationInfo;
        public static final Parcelable.Creator<CancelUpdate> CREATOR = new Creator();
        public static final int $stable = 8;

        /* compiled from: RoutingDialogEvent.kt */
        /* renamed from: jp.pxv.android.model.RoutingDialogEvent$CancelUpdate$Creator */
        /* loaded from: classes2.dex */
        public static final class Creator implements Parcelable.Creator<CancelUpdate> {
            @Override // android.os.Parcelable.Creator
            public final CancelUpdate createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                return new CancelUpdate((PixivApplicationInfo) parcel.readSerializable());
            }

            @Override // android.os.Parcelable.Creator
            public final CancelUpdate[] newArray(int i) {
                return new CancelUpdate[i];
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public CancelUpdate(PixivApplicationInfo pixivApplicationInfo) {
            super(null);
            MutabilityOwnership.m3745m(pixivApplicationInfo, "applicationInfo");
            this.applicationInfo = pixivApplicationInfo;
        }

        public static /* synthetic */ CancelUpdate copy$default(CancelUpdate cancelUpdate, PixivApplicationInfo pixivApplicationInfo, int i, Object obj) {
            if ((i & 1) != 0) {
                pixivApplicationInfo = cancelUpdate.applicationInfo;
            }
            return cancelUpdate.copy(pixivApplicationInfo);
        }

        public final PixivApplicationInfo component1() {
            return this.applicationInfo;
        }

        public final CancelUpdate copy(PixivApplicationInfo pixivApplicationInfo) {
            MutabilityOwnership.m3745m(pixivApplicationInfo, "applicationInfo");
            return new CancelUpdate(pixivApplicationInfo);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // java.lang.Object
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof CancelUpdate) && MutabilityOwnership.m3749h(this.applicationInfo, ((CancelUpdate) obj).applicationInfo);
        }

        public final PixivApplicationInfo getApplicationInfo() {
            return this.applicationInfo;
        }

        @Override // java.lang.Object
        public int hashCode() {
            return this.applicationInfo.hashCode();
        }

        @Override // java.lang.Object
        public String toString() {
            StringBuilder c = C0261e.m12042c("CancelUpdate(applicationInfo=");
            c.append(this.applicationInfo);
            c.append(')');
            return c.toString();
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeSerializable(this.applicationInfo);
        }
    }

    /* compiled from: RoutingDialogEvent.kt */
    /* renamed from: jp.pxv.android.model.RoutingDialogEvent$FinishConfirmMessage */
    /* loaded from: classes2.dex */
    public static final class FinishConfirmMessage extends RoutingDialogEvent {
        public static final FinishConfirmMessage INSTANCE = new FinishConfirmMessage();
        public static final Parcelable.Creator<FinishConfirmMessage> CREATOR = new Creator();
        public static final int $stable = 8;

        /* compiled from: RoutingDialogEvent.kt */
        /* renamed from: jp.pxv.android.model.RoutingDialogEvent$FinishConfirmMessage$Creator */
        /* loaded from: classes2.dex */
        public static final class Creator implements Parcelable.Creator<FinishConfirmMessage> {
            @Override // android.os.Parcelable.Creator
            public final FinishConfirmMessage createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                parcel.readInt();
                return FinishConfirmMessage.INSTANCE;
            }

            @Override // android.os.Parcelable.Creator
            public final FinishConfirmMessage[] newArray(int i) {
                return new FinishConfirmMessage[i];
            }
        }

        private FinishConfirmMessage() {
            super(null);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeInt(1);
        }
    }

    /* compiled from: RoutingDialogEvent.kt */
    /* renamed from: jp.pxv.android.model.RoutingDialogEvent$RedirectStoreFromForceUpdate */
    /* loaded from: classes2.dex */
    public static final class RedirectStoreFromForceUpdate extends RoutingDialogEvent {
        private final String storeUrl;
        public static final Parcelable.Creator<RedirectStoreFromForceUpdate> CREATOR = new Creator();
        public static final int $stable = 8;

        /* compiled from: RoutingDialogEvent.kt */
        /* renamed from: jp.pxv.android.model.RoutingDialogEvent$RedirectStoreFromForceUpdate$Creator */
        /* loaded from: classes2.dex */
        public static final class Creator implements Parcelable.Creator<RedirectStoreFromForceUpdate> {
            @Override // android.os.Parcelable.Creator
            public final RedirectStoreFromForceUpdate createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                return new RedirectStoreFromForceUpdate(parcel.readString());
            }

            @Override // android.os.Parcelable.Creator
            public final RedirectStoreFromForceUpdate[] newArray(int i) {
                return new RedirectStoreFromForceUpdate[i];
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public RedirectStoreFromForceUpdate(String str) {
            super(null);
            MutabilityOwnership.m3745m(str, "storeUrl");
            this.storeUrl = str;
        }

        public static /* synthetic */ RedirectStoreFromForceUpdate copy$default(RedirectStoreFromForceUpdate redirectStoreFromForceUpdate, String str, int i, Object obj) {
            if ((i & 1) != 0) {
                str = redirectStoreFromForceUpdate.storeUrl;
            }
            return redirectStoreFromForceUpdate.copy(str);
        }

        public final String component1() {
            return this.storeUrl;
        }

        public final RedirectStoreFromForceUpdate copy(String str) {
            MutabilityOwnership.m3745m(str, "storeUrl");
            return new RedirectStoreFromForceUpdate(str);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // java.lang.Object
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof RedirectStoreFromForceUpdate) && MutabilityOwnership.m3749h(this.storeUrl, ((RedirectStoreFromForceUpdate) obj).storeUrl);
        }

        public final String getStoreUrl() {
            return this.storeUrl;
        }

        @Override // java.lang.Object
        public int hashCode() {
            return this.storeUrl.hashCode();
        }

        @Override // java.lang.Object
        public String toString() {
            return C2047a.m8800b(C0261e.m12042c("RedirectStoreFromForceUpdate(storeUrl="), this.storeUrl, ')');
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeString(this.storeUrl);
        }
    }

    /* compiled from: RoutingDialogEvent.kt */
    /* renamed from: jp.pxv.android.model.RoutingDialogEvent$RedirectStoreFromUpdateAvailable */
    /* loaded from: classes2.dex */
    public static final class RedirectStoreFromUpdateAvailable extends RoutingDialogEvent {
        private final String storeUrl;
        public static final Parcelable.Creator<RedirectStoreFromUpdateAvailable> CREATOR = new Creator();
        public static final int $stable = 8;

        /* compiled from: RoutingDialogEvent.kt */
        /* renamed from: jp.pxv.android.model.RoutingDialogEvent$RedirectStoreFromUpdateAvailable$Creator */
        /* loaded from: classes2.dex */
        public static final class Creator implements Parcelable.Creator<RedirectStoreFromUpdateAvailable> {
            @Override // android.os.Parcelable.Creator
            public final RedirectStoreFromUpdateAvailable createFromParcel(Parcel parcel) {
                MutabilityOwnership.m3745m(parcel, "parcel");
                return new RedirectStoreFromUpdateAvailable(parcel.readString());
            }

            @Override // android.os.Parcelable.Creator
            public final RedirectStoreFromUpdateAvailable[] newArray(int i) {
                return new RedirectStoreFromUpdateAvailable[i];
            }
        }

        /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
        public RedirectStoreFromUpdateAvailable(String str) {
            super(null);
            MutabilityOwnership.m3745m(str, "storeUrl");
            this.storeUrl = str;
        }

        public static /* synthetic */ RedirectStoreFromUpdateAvailable copy$default(RedirectStoreFromUpdateAvailable redirectStoreFromUpdateAvailable, String str, int i, Object obj) {
            if ((i & 1) != 0) {
                str = redirectStoreFromUpdateAvailable.storeUrl;
            }
            return redirectStoreFromUpdateAvailable.copy(str);
        }

        public final String component1() {
            return this.storeUrl;
        }

        public final RedirectStoreFromUpdateAvailable copy(String str) {
            MutabilityOwnership.m3745m(str, "storeUrl");
            return new RedirectStoreFromUpdateAvailable(str);
        }

        @Override // android.os.Parcelable
        public int describeContents() {
            return 0;
        }

        @Override // java.lang.Object
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            return (obj instanceof RedirectStoreFromUpdateAvailable) && MutabilityOwnership.m3749h(this.storeUrl, ((RedirectStoreFromUpdateAvailable) obj).storeUrl);
        }

        public final String getStoreUrl() {
            return this.storeUrl;
        }

        @Override // java.lang.Object
        public int hashCode() {
            return this.storeUrl.hashCode();
        }

        @Override // java.lang.Object
        public String toString() {
            return C2047a.m8800b(C0261e.m12042c("RedirectStoreFromUpdateAvailable(storeUrl="), this.storeUrl, ')');
        }

        @Override // android.os.Parcelable
        public void writeToParcel(Parcel parcel, int i) {
            MutabilityOwnership.m3745m(parcel, "out");
            parcel.writeString(this.storeUrl);
        }
    }

    private RoutingDialogEvent() {
    }

    public /* synthetic */ RoutingDialogEvent(DefaultConstructorMarker eVar) {
        this();
    }
}
